package cc.mrbird.febs.accounting.mapper;

import cc.mrbird.febs.accounting.entity.ProjectType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  Mapper
 *
 * @author chenyuxuan
 * @date 2021-09-28 23:26:45
 */
public interface ProjectTypeMapper extends BaseMapper<ProjectType> {

    List<ProjectType> queryOngoingProjectType();

    Long ifProjectTypeUsed(@Param("typeIds") List<String> list);
}
